package com.pdwl.common.dtos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 登录请求Vo ，这个对象封装的就是登录接口的请求数据
 */
@Data
@ApiModel("登录dto")
public class LoginDto {
    /**
     * 用户名
     */
    @ApiModelProperty(value = "手机号",required = true,
    example = "admin")
    private String account;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码",required = true,
    example = "admin")
    private String password;
    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码",required = true,
    example = "1+2=")
    private String code;
    /**
     * redis的key
     */
    @ApiModelProperty(value = "redis的key",required = true,
            example = "1D9074FE682555FACBF347021673429811956")
    private String key;
}